package com.sunyard.constant.manage;

/**
 * @author leib.huang
 * @ClassName: RoleConst
 * @Description 角色管理常量类
 * @date 2016年5月5日
 */
public final class RoleConst {
    /**
     * Description
     */
    private RoleConst() {
    }

    /**
     * Description
     */
    public static final String ROLE_ID = "RI";//role_id生成参数。
    /**
     * Description
     */
    public static final String BULLETIN_ID = "BI";//bulletin_id生成参数。
    /**
     * Description
     */
    public static final String FORMWORK_ID = "FI";//formwork_id生成参数。
    /**
     * Description
     */
    public static final String FIND_ROLES_ERROR = "查询所有角色失败！";
    /**
     * Description
     */
    public static final String FIND_ROLES_SUCCESS = "查询所有的角色成功！";
    /**
     * Description
     */
    public static final String ADD_ROLE_ERROR = "新增角色出错！";
    /**
     * Description
     */
    public static final String ADD_ROLE_SUCCESS = "新增角色成功！";
    /**
     * Description
     */
    public static final String DELETE_ROLE_ERROR = "删除角色失败！";
    /**
     * Description
     */
    public static final String DELETE_ROLE_SUCCESS = "删除角色成功！";
    /**
     * Description
     */
    public static final String UPDATE_ROLE_ERROR = "更新角色失败！";
    /**
     * Description
     */
    public static final String UPDATE_ROLE_SUCCESS = "更新角色成功！";
    /**
     * Description
     */
    public static final String CONFIG_ROLE_ERROR = "配置角色失败！";
    /**
     * Description
     */
    public static final String CONFIG_ROLE_SUCCESS = "配置角色成功！";
    /**
     * Description
     */
    public static final String DO_NOT_DELETE_ADMIN_ROLE = "不能删除管理员角色！";
    /**
     * Description
     */
    public static final String DO_NOT_DELETE_TICATTY_ROLE = "默认角色不可删除！";
    /**
     * Description
     */
    public static final String DELETE_OPERATOR_FIRST = "已有用户分配了该角色，请先删除用户！";
    /**
     * Description
     */
    public static final String DIST_LIMITS_ROLE_FAIL = "未开启角色权限";
    /**
     * Description
     */
    public static final String UPDATE_ADMIN_ROLE_ERROR = "系统默认的超级管理员不能修改！";
    /**
     * Description
     */
    public static final String UPDATE_AUDITOR_ROLE_ERROR = "系统默认的审核管理员不能修改！";
}
